const key = getFilePathStore(import.meta.url);

export const useAgreementComponetStore = defineStore(key, {
    state: () => ({
        agree: false,
        agreementsService:'/agreements/service',
        agreementsPrivacy:'/agreements/privacy',
    }),
    actions: {
        async initStore() {
            this.agree = false;
        },
    },
    persist: {
        key: key,
        storage: sessionStorage
    }
})